package com.usian.controller;

import com.usian.model.aiades.from.AiadesFrom;
import com.usian.service.AiadesService;
import com.usian.model.aiades.entity.AiadesShow;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
@RequestMapping("/aiades")
public class AiadesController {

    @Resource
    AiadesService aiadesService;
    @RequestMapping("findaiades")
    public AiadesShow findaiades(AiadesFrom aiades){
        return aiadesService.findaiades(aiades);
    }

}
